<?php /* Smarty version 2.6.20, created on 2017-09-06 21:07:57
         compiled from product_index.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'label', 'product_index.htm', 9, false),array('modifier', 'truncate', 'product_index.htm', 93, false),)), $this); ?>
<link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/css/index.css?t=<?php echo $this->_tpl_vars['now_time']; ?>
" rel="stylesheet" media="screen" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/cailike.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
" ></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/lanrentuku.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
" ></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/mxlrtk.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
" ></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/modernizr.custom.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
" ></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/travel_list.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
" ></script>
<!--主图菜单和轮播-->
<div class="index-top">
    <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'label', 'type' => 'cat', 'temp' => 'categorys')), $this); ?>

    <!--主轮播 begin-->
    <div class="slide-main" data-role="none">
        <div class="mn">
            <ul class="lst" id="topadpic">
                <li id="headerUserinfo"></li>
                <?php $_from = $this->_tpl_vars['banner']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vo']):
?>
                <li class="itm" style="background-color:  rgb(<?php echo $this->_tpl_vars['vo']['rgb']; ?>
); background-image: url(<?php echo $this->_tpl_vars['vo']['picName']; ?>
); display: none;" data-src="<?php echo $this->_tpl_vars['vo']['picName']; ?>
" data-color=" <?php echo $this->_tpl_vars['vo']['color']; ?>
">
                    <a class="lnk" href="<?php echo $this->_tpl_vars['vo']['url']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['vo']['name']; ?>
" id="home_lunbo_006"><img style="" src="<?php echo $this->_tpl_vars['vo']['picName']; ?>
"></a>
                </li>
                <?php endforeach; endif; unset($_from); ?>


            </ul>

        </div>
        <!--[if IE]>
<style>
.slide-main .sd .itm .txt {
position: relative;
z-index: 1;
color: #FFF;
display: block;
line-height: 42px;
padding: 0 0 0 0px;
overflow: hidden;
}
</style>
<![endif]-->
        <div style="opacity: 1; display: block;" class="sd">
            <div style="width: 1013px; left: 93px;" class="box">
                <input id="topadcount" value="7" type="hidden">
                <ul style="left: 0px; width: 1456px;" class="lst" id="topadtitle">
                    <?php $_from = $this->_tpl_vars['banner']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vo']):
?>
                    <li class="itm"><a href="javascript:void(0)" title="<?php echo $this->_tpl_vars['vo']['name']; ?>
">
                            <span class="num"></span>
                            <span class="txt"><?php echo $this->_tpl_vars['vo']['name']; ?>
</span></a>
                    </li>
                    <?php endforeach; endif; unset($_from); ?>

                </ul>
            </div>
            <!--<a style="display: none;" class="skip prev" href="javascript:void(0)" title="上一张">上一张</a>-->
            <!--<a style="display: none;" class="skip next" href="javascript:void(0)" title="下一张">下一张</a>-->
        </div>
    </div>
    <!--主轮播 end-->
    <?php if (empty ( $this->_tpl_vars['is_login_statu'] )): ?>
    <div class="banner_code">
        <div class="user_header">
            <img src = "<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/index_login.png"/>
            <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/login.php">请登录</a>
        </div>
        <img src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/wx_wd.jpg" class="ewm"/>
    </div>
    <?php endif; ?>
</div>
<div class="clean_float"></div>

<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/localindex.js"></script>
<!--主图菜单和轮播结束-->

<!-- 每日推荐 & 猜你喜欢 begin -->
<div class="index-con">
    <div class="hotlike">
        <div class="hd">
            <div class="tab">
                <a  href="#" onmouseover="easytabs('1', '1');" onfocus="easytabs('1', '1');" onclick="return false;"  title="" id="tablink1"><span class="txt">猜您喜欢</span><span class="ico"></span></a>
                <a  href="#" onmouseover="easytabs('1', '2');" onfocus="easytabs('1', '2');" onclick="return false;"  title="" id="tablink2"><span class="txt">为您推荐</span><span class="ico"></span></a>
            </div>
        </div>
        <div class="bd">

            <div class="box">
                <?php $_from = $this->_tpl_vars['type']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vo']):
?>
                <ul class="poster z-act" id="tabcontent<?php echo $this->_tpl_vars['key']+1; ?>
">
                    <?php $_from = $this->_tpl_vars['vo']['product_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vv']):
?>
                    <li class="show-poster-1">
                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['vv']['pname']; ?>
" class="img">
                            <?php if ($this->_tpl_vars['vv']['discount'] > 0): ?>
                            <!--<s style="display: block;width: 38px; height: 56px;position: absolute; right: -2px;top: 0;"><?php echo $this->_tpl_vars['vv']['discount']; ?>
</s>-->
                            <s style="display: block;position: absolute;right: 21px;width: 37px;height: 60px;z-index: 2;background: url(<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/zhekou.png) no-repeat;color: #ffffff;font-size: 16px;text-align: center;">优</br>惠</s>
                            <?php endif; ?>
                            <img src="<?php echo $this->_tpl_vars['vv']['pic']; ?>
" width="150" height="206"></a>
                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['vv']['pname']; ?>
"  class="title"><?php echo ((is_array($_tmp=$this->_tpl_vars['vv']['pname'])) ? $this->_run_mod_handler('truncate', true, $_tmp, '24', '...') : smarty_modifier_truncate($_tmp, '24', '...')); ?>
</a>
                        <span class="price">票价：<strong><i class="yen">￥</i><?php echo $this->_tpl_vars['vv']['price']; ?>
</strong>起</span>
                    </li>
                    <?php endforeach; endif; unset($_from); ?>
                </ul>
               <?php endforeach; endif; unset($_from); ?>


            </div>
        </div>
    </div>
</div>
<!-- 每日推荐 & 猜你喜欢 end -->

<!-- 广告位start -->
<div class="index_ad">
    <script src='<?php echo $this->_tpl_vars['config']['weburl']; ?>
/api/ad.php?id=2&catid=<?php echo $_GET['id']; ?>
&name=<?php echo $_GET['key']; ?>
'></script>
</div>
<div class="clean_float"></div>
<!-- 广告位end -->

<?php $_from = $this->_tpl_vars['category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vo']):
?>
<!-- 楼层 start -->
<?php if (! empty ( $this->_tpl_vars['vo']['list'] )): ?>
<div class="list-block category-block">
    <div class="block-title">
        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list&id=<?php echo $this->_tpl_vars['vo']['catid']; ?>
"  class="icon_index"><?php echo $this->_tpl_vars['key']+1; ?>
F</a>
        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list&id=<?php echo $this->_tpl_vars['vo']['catid']; ?>
"  class="title"><?php echo $this->_tpl_vars['vo']['cat']; ?>
</a>
        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list&id=<?php echo $this->_tpl_vars['vo']['catid']; ?>
" class="more">更多<?php echo $this->_tpl_vars['vo']['cat']; ?>
&gt;</a>
        </div>
    <div class="items">
        <ul>

            <li class="main-item item">
                <a href="<?php echo $this->_tpl_vars['vo']['adv_url']; ?>
"><img alt="<?php echo $this->_tpl_vars['vo']['adv_name']; ?>
" src="<?php echo $this->_tpl_vars['vo']['adv_pic_name']; ?>
" class="poster"></a>
                <!--<div class="info"><div style="background-color:#5d4a80" class="bg"></div>-->
                <!--<a href="<?php echo $this->_tpl_vars['vo']['adv_url']; ?>
"><div class="title">MR.Fantastic”2016吴亦凡新歌首唱&amp;超级生日会</div></a>-->
                <!--<div class="price"><span class="unit">¥</span><span class="amount">1140</span>起</div></div>-->
            </li>

            <?php $_from = $this->_tpl_vars['vo']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vv']):
?>
            <li class="item">
                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
"><img alt="<?php echo $this->_tpl_vars['vv']['pname']; ?>
" src="<?php echo $this->_tpl_vars['vv']['pic']; ?>
" class="poster"></a>
                <div class="info">
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
"><div class="title"><?php echo $this->_tpl_vars['vv']['pname']; ?>
</div></a>
                    <div class="time"><?php echo $this->_tpl_vars['vv']['prev_date']; ?>
</div><a href="javascript:void(0);"><div class="venue"><?php echo $this->_tpl_vars['vv']['pname']; ?>
</div></a>
                    <div class="price"><span class="unit">¥</span><span class="amount"><?php echo $this->_tpl_vars['vv']['price']; ?>
</span>起</div>
                </div>
            </li>
            <?php endforeach; endif; unset($_from); ?>


        </ul>
    </div>
</div>
<!-- 楼层 end -->
<div class="clean_float"></div>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
